// app.js
App({
  globalData: {
    token: '111',
    userInfo: {
      username: '222'
    }
  },
  onLaunch() {
    console.log('app onLaunch');
  },
  onShow() {
    console.log('app onShow');
  },
  onHide() {
    console.log('app onHide');
  }
})
